import component from "element-plus/es/components/tree-select/src/tree-select-option.mjs";

export default {
  path: "/managemessage",
  meta: {
    title: "消息管理",
    icon: "ep:message-box",
    rank:15
  },
  children: [
    {
      path: "/managemessage/message",
      name: "Innermessage",
      component: () => import("@/views/managemessage/message.vue"),
      meta: {
        title: "站内消息",
        showParent: true,
         roles:['admin']
      }
     
    },
    {
      path: '/managemessage/activitynotice',
      name: 'Activitynotice',
      component: () => import('@/views/managemessage/activitynotice.vue'),
      meta: {
        title: '活动通知',
         showParent: true,
        roles:['admin']
      }
    },
     {
      path: '/managemessage/offnotice',
      name: 'Offnotice',
      component: () => import('@/views/managemessage/offnotice.vue'),
      meta: {
        title: '官方公告',
         showParent: true,
        roles:['admin']
      }
    },
      {
      path: "/managemessage/offpo",
      name: "Offpo",
      component: () => import("@/views/managemessage/offpo.vue"),
      meta: {
        title: "官方政策",
        showParent: true,
         roles:['admin']
      }
     
    },
    {
      path: '/managemessage/news',
      name: 'Mnews',
      component: () => import('@/views/managemessage/news.vue'),
      meta: {
        title: '新闻资讯',
         showParent: true,
        roles:['admin']
      }
    },
     {
      path: '/managemessage/problems',
      name: 'Problems',
      component: () => import('@/views/managemessage/problems.vue'),
      meta: {
        title: '疑难杂症',
         showParent: true,
        roles:['admin']
      }
    },
    {
      path: '/managemessage/edit',
      name: 'Edit',
      component: () => import('@/views/managemessage/edit.vue'),
      meta: {
        title: '编辑',
        roles: ['admin'],
        showLink: false,

      }
    },
     {
      path: '/managemessage/usefultool',
      name: 'Useful',
      component: () => import('@/views/managemessage/usefultool.vue'),
      meta: {
        title: '实用工具',
        roles: ['admin'],
      }
    },
    {
        path: '/managemessage/thirdtool',
      name: 'Third',
      component: () => import('@/views/managemessage/thirdtool.vue'),
      meta: {
        title: '三方工具',
        roles: ['admin'],
      }
     }
  ]
};